﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ICM_Pre_Purchase_Request.aspx.cs" Inherits="KPIS.GERP.GIMS.APP.APP_UI.Edit_Form.ICM_Pre_Purchase_Request" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register TagPrefix="custom" Namespace="KPIS.Customs.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>แจ้งความประสงค์ขอซื้อ/จ้าง</title>
    <link rel="StyleSheet" href="../../Styles/StyleSheet.css" type="text/css">  
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" >
        </asp:ScriptManager>
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript" src="../../Scripts/Common.js"></script>
            <script type="text/javascript">
                var cancelDropDownClosing = false;
                var sumInput = null;
                var tempValue = 0.0;
                
                function stopError()
                {
                    return true;
                }
                window.onerror = stopError;
                
                function onTextChangeGeneral(sender) {
                    if (sender.get_value() == "") {
                        sender.set_text("");
                    }
                }

                function onTextChangeProject(sender) {
                    var tree = $find('<%= ((RadTreeView)((RadComboBox)cbProject).Items[0].FindControl("TreeViewProject")).ClientID %>');
                    var node = tree.findNodeByText(sender.get_text());
                    if (node == null) {
                        sender.set_text("");
                    }
                }

                function onTextChangeOperation(sender) {
                    var tree = $find('<%= ((RadTreeView)((RadComboBox)cbOperation).Items[0].FindControl("TreeViewOperation")).ClientID %>');
                    var node = tree.findNodeByText(sender.get_text());
                    if (node == null) {
                        sender.set_text("");
                    }
                }

                function StopPropagation(e) {
                    e.cancelBubble = true;
                    if (e.stopPropagation) {
                        e.stopPropagation();
                    }
                }

                function OnClientDropDownClosingHandler(sender, e) {
                    e.set_cancel(cancelDropDownClosing);
                }

                function OnClientNodeClickingHandlerProject(sender, e) {
                    var node = e.get_node();
                    if (node.get_category() != "EXPENSE") {
                        node.toggle();
                    }
                    else {
                        var combo = $find('<%= cbProject.ClientID %>');
                        combo.set_text(node.get_text());
                        cancelDropDownClosing = false;
                        combo.hideDropDown();
                        $find("<%= RadManager1.ClientID %>").ajaxRequest("Project : " + node.get_value());
                    }
                }
                
                function OnClientNodeClickingHandlerOperation(sender, e) {
                    var node = e.get_node();
                    if (node.get_category() != "EXPENSE") {
                        node.toggle();
                    }
                    else {
                        var combo = $find('<%= cbOperation.ClientID %>');
                        combo.set_text(node.get_text());
                        cancelDropDownClosing = false;
                        combo.hideDropDown();
                        $find("<%= RadManager1.ClientID %>").ajaxRequest("Operation : " + node.get_value());
                    }
                }

                function ChangeTab(value, page_index) {
                    Page_ClientValidate();
                    if (Page_IsValid) {
                        if (value == "Item") {
                            item = 1;
                        }
                        if (value == "Committee") {
                            committee = 1;
                        }
                        if (value == "File") {
                            file = 1;
                        }
                        if (value == "Progress") {
                            progress = 1;
                        }
                        var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
                        var pageView = $find("<%= RadMultiPage1.ClientID %>");
                        var tab = tabStrip.findTabByValue(value);
                        var pageViewIndex = page_index;
                        tab.set_selected(true);
                        pageView.get_pageViews().getPageView(pageViewIndex).set_selected(true);
                    }
                }

                function GetRadWindow() {
                    var oWindow = null;
                    if (window.radWindow)
                        oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog      
                    else if (window.frameElement.radWindow)
                        oWindow = window.frameElement.radWindow; //IE (and Moz as well)      
                    return oWindow;
                }

                function CloseWindow() {
                    GetRadWindow().Close();
                }

                function getSourceFile() {
                    extArray = new Array(".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".rtf");
                    allowSubmit = false;
                    var file = document.getElementById('<%= attachment.ClientID %>');
                    var source_file = document.getElementById('<%= hdSourceFile.ClientID %>');
                    var div_part = document.getElementById('<%= uploadFile_div.ClientID %>');
                    value = file.value;
                    if (value.length == 0) {
                        return;
                    }
                    while (value.indexOf("\\") != -1) {
                        value = value.slice(value.indexOf("\\") + 1);
                    }
                    ext = value.slice(value.indexOf(".")).toLowerCase();
                    for (var i = 0; i < extArray.length; i++) {
                        if (ext.indexOf(extArray[i]) >= 0) {
                            allowSubmit = true; break;
                        }
                    }
                    if (allowSubmit) {
                        source_file.value = file.value;
                    }
                    else {
                        alert("ไฟล์เอกสารใช้ได้เฉพาะนามสกุล .doc, .docx, .xls, .xlsx, .ppt, .pptx, .pdf, .rtf เท่านั้น");
                        div_part.innerHTML = div_part.innerHTML;
                    }
                }

                function SelectItem() {
                    var tooltip = $find("TipEachItem");
                    tooltip.hide();
                }

                function Load(sender, args) {
                    sumInput = sender;
                }

                function Blur(price, quantity) {
                    var text1 = $find(price);
                    var text2 = $find(quantity);
                    sumInput.set_value(tempValue + (text1.get_value() * text2.get_value()));
                }

                function Focus(price, quantity) {
                    var text1 = $find(price);
                    var text2 = $find(quantity);
                    tempValue = sumInput.get_value() - (text1.get_value() * text2.get_value());
                }

                function ChangeCommitteeType(type, internalName, externalName, externalDescr) {
                    var value = document.getElementById(type).value;
                    var panelInternalName = document.getElementById(internalName);
                    var panelExternalName = document.getElementById(externalName);
                    var panelExternalDescr = document.getElementById(externalDescr);
                    if (value == "1") {
                        panelInternalName.style.visibility = "visible";
                        panelExternalName.style.visibility = "hidden";
                        panelExternalDescr.style.visibility = "hidden";
                    }
                    else {
                        panelInternalName.style.visibility = "hidden";
                        panelExternalName.style.visibility = "visible";
                        panelExternalDescr.style.visibility = "visible";
                    }
                }

                function ChangeCommitteeInternal(internalName, externalName, externalDescr) {
                    var panelInternalName = document.getElementById(internalName);
                    var panelExternalName = document.getElementById(externalName);
                    var panelExternalDescr = document.getElementById(externalDescr);
                    panelInternalName.style.visibility = "visible";
                    panelExternalName.style.visibility = "hidden";
                    panelExternalDescr.style.visibility = "hidden";
                }

                function ChangeCommitteeExternal(internalName, externalName, externalDescr) {
                    var panelInternalName = document.getElementById(internalName);
                    var panelExternalName = document.getElementById(externalName);
                    var panelExternalDescr = document.getElementById(externalDescr);
                    panelInternalName.style.visibility = "hidden";
                    panelExternalName.style.visibility = "visible";
                    panelExternalDescr.style.visibility = "visible";
                }

                function ChangeDurationRequire(durationRequire, dateRequire, datePicker) {
                    var panelDuration = document.getElementById(durationRequire);
                    var panelDate = document.getElementById(dateRequire);
                    var panelDatePicker = document.getElementById(datePicker);
                    panelDuration.style.visibility = "visible";
                    panelDate.style.visibility = "hidden";
                    panelDatePicker.style.visibility = "hidden";
                }

                function ChangeDateRequire(durationRequire, dateRequire, datePicker) {
                    var panelDuration = document.getElementById(durationRequire);
                    var panelDate = document.getElementById(dateRequire);
                    var panelDatePicker = document.getElementById(datePicker);
                    panelDuration.style.visibility = "hidden";
                    panelDate.style.visibility = "visible";
                    panelDatePicker.style.visibility = "visible";
                }
                
                function OnClientNodeClickingHandlerForJobSite(sender, e) {
                    var node = e.get_node();
                    if (node.get_category() != "JOBSITE") {
                        node.toggle();
                    }
                    else {
                        var combo = $find('<%= cbJobSite.ClientID %>');
                        combo.set_text(node.get_text());
                        cancelDropDownClosing = false;
                        combo.hideDropDown();
                    }
                }
                
                Sys.Application.add_load(setCalendarTable);
                Sys.Application.add_load(setCalendarReqTable);
                
                function setCalendarTable() {
                    var tooltip = $find("<%= ToolTipDate.ClientID %>");
                    var calendar = $find("<%= CalendarDate.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDate.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarReqTable() {
                    var tooltip = $find("<%= ToolTipDateReq.ClientID %>");
                    var calendar = $find("<%= CalendarDateReq.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateReq.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }

                function OnDateClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipDate.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDate.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnDateReqClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipDateReq.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateReq.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnCalendarViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarDate_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarReqViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarDateReq_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                 function CloseActiveToolTip() {
                    var controller = Telerik.Web.UI.RadToolTipController.getInstance();
                    var tooltip = controller.get_activeToolTip();
                    if (tooltip) {
                        tooltip.set_autoCloseDelay(1000);
                    }
                    GetRadWindow().Close();
                }
            </script>
        </telerik:RadCodeBlock>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None" Skin="Outlook">
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxManager runat="server" ID="RadManager1" OnAjaxRequest="RadManager1_AjaxRequest">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_Item" />
                        <telerik:AjaxUpdatedControl ControlID="udPanelItem" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="panelBgmExpPlan" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="panelHidden" />
                        <telerik:AjaxUpdatedControl ControlID="TipItemDetail" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                        <telerik:AjaxUpdatedControl ControlID="RadMultipage1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="panelCommand_Detail">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_Detail" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="panelCommand_Item">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_Item" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="panelCommand_Committee">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_Committee" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="panelCommand_File">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_File" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnAddGroupCommittee">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelCommitteeGroup" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="Grid_SubCommittee" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="panelNumCommitteeFunction" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="cblCommitteeFunction" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rblCommitteeType">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelInternal" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="panelExternal" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="cbPurchaseMethod">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelAddCommittee_Wizard" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="panelCommitteeGroup" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rblAddCommittee">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_Committee" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <asp:Panel ID="panelHidden" runat="server">
            <asp:HiddenField ID="hdSeq" runat="server" Value="" />
            <asp:HiddenField ID="hdSourceFile" runat="server" Value="" />
            <asp:HiddenField ID="hdRule" runat="server" Value="" />
            <asp:HiddenField ID="hdExpenseSeq" runat="server" Value="" />
            <asp:HiddenField ID="hdExpenseName" runat="server" Value="" />
            <asp:HiddenField ID="hdSourceSeq" runat="server" Value="" />
            <asp:HiddenField ID="hdSourceName" runat="server" Value="" />
            <asp:HiddenField ID="hdRuleName" runat="server" Value="" />
            <asp:HiddenField ID="hdProjectSeq" runat="server" Value="" />
            <asp:HiddenField ID="hdProjectName" runat="server" Value="" />
            <asp:HiddenField ID="hdProjectExpSeq" runat="server" Value="" />
            <asp:HiddenField ID="hdOperationSeq" runat="server" Value="" />
            <asp:HiddenField ID="hdOperationName" runat="server" Value="" />
            <asp:HiddenField ID="hdOperationExpSeq" runat="server" Value="" />
            <asp:HiddenField ID="hdUseMethod" runat="server" Value="" />
        </asp:Panel>
        <asp:Panel ID="panelAll" runat="server">
            <asp:Panel ID="panelConfirm" runat="server">
                <div class="bigModuleFull">
                    <div class="bigModuleBottomFull">
                        <table cellpadding="0" cellspacing="0">
                            <tr class="command-list" width="100%">
                                <td width="50%">
                                    <table cellpadding="0" cellspacing="0" >
                                        <tr width="100%">
                                            <td width="20px">
                                            </td>
                                            <td>
                                                <asp:Label CssClass="font-label" runat="server" ID="lblHeader2" Text="การทำงาน :" Font-Bold="true"></asp:Label>  
                                            </td>
                                            <td width="20px">
                                            </td>
                                            <td class="command-item" style="border: none">
                                                <asp:LinkButton ID="btnConfirm" runat="server" CssClass="LinkButton">
                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/AddRecord.gif" />&nbsp;&nbsp;ยืนยันรายการ
                                                </asp:LinkButton>
                                            </td>
                                            <td class="command-item" style="border: none">
                                                <asp:LinkButton ID="btnDeny" runat="server" CssClass="LinkButton">
                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Delete.gif" />&nbsp;&nbsp;ยกเลิกรายการ
                                                </asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td class="command-item">
                                &nbsp;
                                </td>
                                <td width="50%">
                                    <table cellpadding="0" cellspacing="0">
                                        <tr width="100%>
                                            <td width="20px">
                                            </td>
                                            <td>
                                                <asp:Label CssClass="font-label" runat="server" ID="lblHeader1" Text="สถานะรายการ :" Font-Bold="true"></asp:Label>  
                                            </td>
                                            <td width="20px">
                                            </td>
                                            <td>
                                                <asp:Label CssClass="font-label" runat="server" ID="lblStatus" Text="lblStatus"></asp:Label>  
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </asp:Panel>
            <telerik:RadToolTipManager ID="TipConfirm" runat="server" Animation="None" 
                Height="100px" HideEvent="ManualClose" OnAjaxUpdate="OnAjaxUpdateConfirm" Modal="true"
                Position="BottomRight" ShowEvent="OnClick" Skin="Default" Width="630px">
            </telerik:RadToolTipManager>
            <div class="exampleWrapper">
                <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1" Skin="Vista" CssClass="multiPage" CausesValidation="false" AutoPostBack="True" OnTabClick="RadTabStrip1_TabClick"> 
                    <Tabs> 
                        <telerik:RadTab runat="server" Text="ข้อมูลหลัก" Value="Detail" Selected="true">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="รายการพัสดุ" Value="Item">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="รายชื่อคณะกรรมการ" Value="Committee">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="เอกสารแนบ" Value="File">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="ความคืบหน้า" Value="Progress">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="ประวัติตีกลับ" Value="Reject">
                        </telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" 
                    CssClass="pageView">
                    <telerik:RadPageView ID="RadPageView1" runat="server">
                        <asp:Panel ID="panel_Detail" runat="server">
                            <asp:Panel ID="panelCommand_Detail" runat="server">
                                <div class="bigModuleFull">
                                    <div class="bigModuleBottomFull">
                                        <table cellpadding="0" cellspacing="0">
                                            <tr class="command-list">
                                                <td class="command-item" style="border: none">
                                                    <asp:LinkButton ID="Edit_Detail" runat="server" CssClass="LinkButton"  visible="false" OnClick="Edit_Detail_Click" CausesValidation="false">
                                                        <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Edit.gif" />&nbsp;&nbsp;แก้ไขข้อมูล
                                                    </asp:LinkButton>
                                                </td>
                                                <td class="command-item" style="border: none">
                                                    <asp:LinkButton ID="EditSave_Detail" runat="server" CssClass="LinkButton" Visible="false" onclick="EditSave_Detail_Click">
                                                        <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cmd_Save.gif" />&nbsp;&nbsp;บันทึกข้อมูล
                                                    </asp:LinkButton>
                                                </td>
                                                <td class="command-item">
                                                    <asp:LinkButton ID="Cancel_Detail" runat="server" CssClass="LinkButton" Visible="false" onclick="Cancel_Detail_Click" CausesValidation="false">
                                                        <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cancel.gif" />&nbsp;&nbsp;ยกเลิก
                                                    </asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>    
                            </asp:Panel>
                            <asp:Panel ID="panelData_Detail" runat="server">
                                <div class="bigModuleFull" align="left">
                                    <div class="bigModuleBottomFull">
                                        <asp:Panel ID="panelHeaderList" runat="server">
                                            <div class="header-grid">
                                                <asp:Label ID="lblHeaderList" runat="server" Text="ข้อมูลหลัก"></asp:Label>
                                            </div>
                                        </asp:Panel>
                                        <asp:Panel CssClass="panelList" runat="server" ID="panelList_Detail" ScrollBars="Auto">
                                            <table width="98%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td colspan="3">
                                                        <div class="font-label">
                                                            <table width="95%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td width="30px">
                                                                    </td>
                                                                    <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        หน่วยงาน :
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblHeaderJobSite" runat="server"></asp:Label>
                                                                                        <telerik:RadComboBox runat="server" ID="cbJobSite" Height="230px" Width="661px" AllowCustomText="true" ShowDropDownOnTextboxClick="true"
                                                                                        EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." MarkFirstMatch="false" ShowMoreResultsBox="true" EnableLoadOnDemand="true" 
                                                                                        EnableVirtualScrolling="true" HighlightTemplatedItems="true" OnItemsRequested="cbJobSite_ItemsRequested"
                                                                                        OnClientTextChange="onTextChangeGeneral" ZIndex="8001">
                                                                                            <HeaderTemplate>
                                                                                                <table class="font-label" cellpadding="0" cellspacing="0">
                                                                                                    <tr>
                                                                                                        <td width="100px" align="center"><b>ส่วนงาน</b></td>
                                                                                                        <td width="500px" align="center"><b>หน่วยงาน</b></td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </HeaderTemplate>
                                                                                            <ItemTemplate>
                                                                                                <asp:Table id="tableJobSite" runat="server" CssClass="font-label" CellPadding="0" CellSpacing="0">
                                                                                                </asp:Table>
                                                                                            </ItemTemplate>
                                                                                        </telerik:RadComboBox>
                                                                                        &nbsp;<label ID="Label1" runat="server"><font color="red">*</font></label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Panel ID="panelValJobSite" runat="server"></asp:Panel>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                    <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        ประเภทปี :
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblHeaderYearType" runat="server"></asp:Label>
                                                                                        <telerik:RadComboBox ID="cbYearType" runat="server" AllowCustomText="true" 
                                                                                            CssClass="RadComboBox" DataTextField="Name" DataValueField="Seq" 
                                                                                            EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." Filter="Contains" 
                                                                                            LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                            OnClientTextChange="onTextChangeGeneral" ShowDropDownOnTextboxClick="true" 
                                                                                            Width="150px">
                                                                                        </telerik:RadComboBox>
                                                                                        &nbsp;<label ID="Label2" runat="server"><font color="red">*</font></label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Panel ID="panelValYearType" runat="server"></asp:Panel>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                    <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        ปี :
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblHeaderBgmYear" runat="server"></asp:Label>
                                                                                        <telerik:RadNumericTextBox ID="txtYear" Runat="server" 
                                                                                            NumberFormat-DecimalDigits="0" NumberFormat-GroupSeparator="" Skin="Outlook" Width="100px">
                                                                                        </telerik:RadNumericTextBox>
                                                                                        &nbsp;<label ID="Label6" runat="server"><font color="red">*</font></label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Panel ID="panelValYear" runat="server"></asp:Panel>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                        <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        ประเภทการจัดหา :
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblPurchaseType" runat="server" AssociatedControlID="cbPurchaseType" CssClass="font-label"></asp:Label>
                                                                                        <telerik:RadComboBox ID="cbPurchaseType" runat="server" AllowCustomText="true" 
                                                                                            CssClass="RadComboBox" DataTextField="Name" DataValueField="Seq" 
                                                                                            EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." Filter="Contains" 
                                                                                            LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                            OnClientTextChange="onTextChangeGeneral" ShowDropDownOnTextboxClick="true"
                                                                                            Enabled="False">
                                                                                        </telerik:RadComboBox>
                                                                                        &nbsp;<label ID="Label23" runat="server"><font color="red">*</font></label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Panel ID="panelValPurchaseType" runat="server"></asp:Panel>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                    <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        วันที่รายการ :
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblDate" runat="server" AssociatedControlID="txtDate" CssClass="font-label"></asp:Label>
                                                                                        <telerik:RadMaskedTextBox ID="txtDate" runat="server" Mask=" ##/##/####" 
                                                                                            SelectionOnFocus="SelectAll" TextWithLiterals=" //" Width="75px">
                                                                                        </telerik:RadMaskedTextBox>
                                                                                        <asp:LinkButton ID="LinkButton1" runat="server" CssClass="LinkButton">
                                                                                            <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                        </asp:LinkButton>
                                                                                        <telerik:RadToolTip ID="ToolTipDate" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                        TargetControlID="LinkButton1" Modal="true">
                                                                                            <telerik:RadCalendar id="CalendarDate" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                <ClientEvents OnDateClick="OnDateClick" OnCalendarViewChanged="OnCalendarViewChanged"></ClientEvents>
                                                                                                <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                            </telerik:RadCalendar>
                                                                                        </telerik:RadToolTip>
                                                                                        &nbsp;<label ID="Label8" runat="server"><font color="red">*</font></label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Panel ID="panelValDate" runat="server"></asp:Panel>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                    <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        เรื่อง :
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblName" runat="server" AssociatedControlID="txtName" CssClass="font-label"></asp:Label>
                                                                                        <asp:TextBox ID="txtName" runat="server" CssClass="TextBox" Width="661px"></asp:TextBox>
                                                                                        &nbsp;<label ID="Label12" runat="server"><font color="red">*</font></label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Panel ID="panelValName" runat="server"></asp:Panel>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                    <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        เหตุผลในการจัดหา :
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="lblReason" runat="server" AssociatedControlID="txtReason" CssClass="font-label"></asp:Label>
                                                                                        <asp:TextBox ID="txtReason" runat="server" CssClass="TextBox" Height="55px" TextMode="MultiLine" Width="661px"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                    <td>
                                                                        <div class="formList-detail">
                                                                            <table>
                                                                                <tr>
                                                                                    <td width = "120px" valign="top">
                                                                                        จัดหาเพื่อ :
                                                                                    </td>
                                                                                    <td>
                                                                                         <asp:Label ID="lblFor" runat="server" AssociatedControlID="rbFor" CssClass="font-label"></asp:Label>
                                                                                        <asp:RadioButtonList ID="rbFor" runat="server" RepeatDirection="Horizontal">
                                                                                            <asp:ListItem Selected="True" Text="ใช้ภายในหน่วยงาน" Value="1"></asp:ListItem>
                                                                                            <asp:ListItem Text="ส่วนรวม" Value="2"></asp:ListItem>
                                                                                        </asp:RadioButtonList>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>  
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                            <table width="98%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td>
                                                        <table width="98%" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td width="30px">
                                                                </td>
                                                                <td>
                                                                    <table>
                                                                        <tr>
                                                                            <td width="120px">
                                                                                ต้องการใช้งาน/เสร็จสิ้น :
                                                                            </td>
                                                                            <td>
                                                                                <asp:Label ID="lblDuration" runat="server"></asp:Label>
                                                                                <asp:RadioButton ID="rdbDuration" runat="server" Text="ภายใน" GroupName="During" />
                                                                            </td>
                                                                            <td width="500px">
                                                                                <asp:Panel ID="panelDuration" runat="server">
                                                                                    <telerik:RadNumericTextBox ID="txtDurationReq" runat="server" NumberFormat-DecimalDigits="0" Skin="Outlook" Width="50px"></telerik:RadNumericTextBox> 
                                                                                    <telerik:RadComboBox ID="cbDurationType" runat="server" 
                                                                                        AllowCustomText="false" CssClass="RadComboBox" DataTextField="Name" 
                                                                                        DataValueField="Seq" Filter="Contains" MarkFirstMatch="false" 
                                                                                        OnClientTextChange="onTextChangeGeneral" ShowDropDownOnTextboxClick="true" 
                                                                                        Width="80px">
                                                                                    </telerik:RadComboBox>
                                                                                    &#160;<label runat="server">นับจาก</label>
                                                                                    <telerik:RadComboBox ID="cbDurationCount" runat="server" 
                                                                                        AllowCustomText="false" CssClass="RadComboBox" DataTextField="Name" 
                                                                                        DataValueField="Seq" Filter="Contains" MarkFirstMatch="false" 
                                                                                        OnClientTextChange="onTextChangeGeneral" ShowDropDownOnTextboxClick="true" 
                                                                                        Width="150px">
                                                                                    </telerik:RadComboBox>
                                                                                </asp:Panel>  
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            <table width="98%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td>
                                                        <table width="98%" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td width="30px">
                                                                </td>
                                                                <td>
                                                                    <div class="formList-detail">
                                                                        <table>
                                                                            <tr>
                                                                                <td width="120px">
                                                                                </td>
                                                                                <td>
                                                                                    <asp:RadioButton ID="rdbDate" runat="server" Text="ภายในวันที่" GroupName="During" />
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="panelDateReq" runat="server">
                                                                                        <telerik:RadMaskedTextBox ID="txtDateReq" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                                <td width="600px">
                                                                                    <asp:Panel ID="panelDateReqPick" runat="server">
                                                                                        <asp:LinkButton ID="LinkButton2" runat="server" CssClass="LinkButton">
                                                                                            <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                        </asp:LinkButton>
                                                                                        <telerik:RadToolTip ID="ToolTipDateReq" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                        TargetControlID="LinkButton2" Modal="true">
                                                                                            <telerik:RadCalendar id="CalendarDateReq" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                <ClientEvents OnDateClick="OnDateReqClick" OnCalendarViewChanged="OnCalendarReqViewChanged"></ClientEvents>
                                                                                                <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                            </telerik:RadCalendar>
                                                                                        </telerik:RadToolTip>
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td colspan="3">
                                                                                    <asp:Panel ID="panelValDateReq" runat="server"></asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                        <asp:Panel CssClass="panelGrid" ID="panelGrid_Detail" runat="server" ScrollBars="Auto" Visible="true"></asp:Panel>
                                    </div>
                                </div>
                            </asp:Panel>
                        </asp:Panel>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView2" runat="server">
                        <asp:Panel ID="panel_Item" runat="server">
                            <table cellpadding="0" cellspacing="0" style="width: 98%;">
                                <tr valign="top">
                                    <td valign="top">
                                        <asp:Panel ID="panelCommand_Item" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table>
                                                        <tr class="command-list">
                                                            <td class="command-item" style="border: none">
                                                                <asp:LinkButton ID="ShowGrid_Item" runat="server" CausesValidation="false" 
                                                                    CssClass="LinkButton" OnClick="ShowGrid_Item_Click"> <img alt="" 
                                                                    src="../Image/Grid/table.gif" style="border:0px;vertical-align:middle;" />&#160;&#160;แสดงข้อมูลทั้งหมด </asp:LinkButton>                        
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNew_Item" runat="server" CausesValidation="false" 
                                                                    CssClass="LinkButton" OnClick="AddNew_Item_Click"> <img alt="" 
                                                                    src="../Image/Grid/AddRecord.gif" style="border:0px;vertical-align:middle;" />&#160;&#160;เพิ่มข้อมูลใหม่ </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNewSave_Item" runat="server" CssClass="LinkButton" 
                                                                    OnClick="AddNewSave_Item_Click" Visible="false"> <img alt="" 
                                                                    src="../Image/Grid/Cmd_Save.gif" style="border:0px;vertical-align:middle;" />&#160;&#160;บันทึกข้อมูล </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="Delete_Item" runat="server" CssClass="LinkButton" 
                                                                    OnClick="Delete_Item_Click" 
                                                                    OnClientClick="javascript:return confirm('ยืนยันการลบข้อมูลที่เลือก')"> <img 
                                                                    alt="" src="../Image/Grid/Delete.gif" 
                                                                    style="border:0px;vertical-align:middle;" />&#160;&#160;ลบข้อมูล </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="panelData_Item" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <asp:Panel ID="panelHeaderList2" runat="server">
                                                        <div class="header-grid">
                                                            <asp:Label ID="Label5" runat="server" Text="ข้อมูลรายการพัสดุ"></asp:Label>
                                                        </div>
                                                    </asp:Panel>
                                                    <asp:Panel ID="panelList_Item" runat="server" CssClass="panelList" ScrollBars="Auto" Visible="false">
                                                        <asp:Panel ID="panelProject" runat="server">
                                                            <table width="98%">
                                                                <tr>
                                                                    <td valign="top">
                                                                        <table cellpadding="0" cellspacing="0" width="98%">
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td valign="top" width="150px">
                                                                                                    รายจ่ายจากแผนการใช้จ่าย :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <telerik:RadComboBox ID="cbProject" Runat="server" AllowCustomText="true" 
                                                                                                        CssClass="RadComboBox" 
                                                                                                        EmptyMessage=".. เลือกรายจ่ายจากแผนการใช้จ่ายงบประมาณ .." Height="300px" 
                                                                                                        LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                                        OnClientDropDownClosing="OnClientDropDownClosingHandler" 
                                                                                                        OnClientTextChange="onTextChangeProject" ShowDropDownOnTextboxClick="true" 
                                                                                                        Skin="Outlook" Width="730px">
                                                                                                        <ItemTemplate>
                                                                                                            <div onclick="StopPropagation(event)">
                                                                                                                <telerik:RadTreeView ID="TreeViewProject" runat="server" CssClass="TreeView" 
                                                                                                                    DataFieldID="Id" DataFieldParentID="Parent_id" DataTextField="Name" 
                                                                                                                    DataValueField="Id" MultipleSelect="false" 
                                                                                                                    OnClientNodeClicking="OnClientNodeClickingHandlerProject" Skin="Outlook">
                                                                                                                    <DataBindings>
                                                                                                                        <telerik:RadTreeNodeBinding CategoryField="Category" />
                                                                                                                    </DataBindings>
                                                                                                                </telerik:RadTreeView>
                                                                                                            </div>
                                                                                                        </ItemTemplate>
                                                                                                        <Items>
                                                                                                            <telerik:RadComboBoxItem />
                                                                                                        </Items>
                                                                                                    </telerik:RadComboBox>
                                                                                                    <label id="Label7" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValcbProject" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </asp:Panel>
                                                        <asp:Panel ID="panelOperation" runat="server">
                                                            <table width="98%">
                                                                <tr>
                                                                    <td valign="top">
                                                                        <table cellpadding="0" cellspacing="0" width="98%">
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td valign="top" width="150px">
                                                                                                    รายจ่ายจากอนุมัติหลักการ :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <telerik:RadComboBox ID="cbOperation" Runat="server" AllowCustomText="true" 
                                                                                                        CssClass="RadComboBox" 
                                                                                                        EmptyMessage=".. เลือกรายจ่ายจากอนุมัติหลักการ .." Height="300px" 
                                                                                                        LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                                        OnClientDropDownClosing="OnClientDropDownClosingHandler" 
                                                                                                        OnClientTextChange="onTextChangeOperation" ShowDropDownOnTextboxClick="true" 
                                                                                                        Skin="Outlook" Width="730px">
                                                                                                        <ItemTemplate>
                                                                                                            <div onclick="StopPropagation(event)">
                                                                                                                <telerik:RadTreeView ID="TreeViewOperation" runat="server" CssClass="TreeView" 
                                                                                                                    DataFieldID="Id" DataFieldParentID="Parent_id" DataTextField="Name" 
                                                                                                                    DataValueField="Id" MultipleSelect="false" 
                                                                                                                    OnClientNodeClicking="OnClientNodeClickingHandlerOperation" Skin="Outlook">
                                                                                                                    <DataBindings>
                                                                                                                        <telerik:RadTreeNodeBinding CategoryField="Category" />
                                                                                                                    </DataBindings>
                                                                                                                </telerik:RadTreeView>
                                                                                                            </div>
                                                                                                        </ItemTemplate>
                                                                                                        <Items>
                                                                                                            <telerik:RadComboBoxItem />
                                                                                                        </Items>
                                                                                                    </telerik:RadComboBox>
                                                                                                    <label id="Label18" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValcbOperation" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </asp:Panel>
                                                        <asp:UpdatePanel ID="udPanelItem" runat="server" UpdateMode="Conditional" Visible="false">
                                                            <ContentTemplate>
                                                                <table width="98%">
                                                                    <tr>
                                                                        <td valign="top">
                                                                                <table cellpadding="0" cellspacing="0" width="98%">
                                                                                    <tr>
                                                                                        <td width="30px">
                                                                                        </td>
                                                                                        <td colspan="2">
                                                                                            <fieldset>
                                                                                                <legend>รายละเอียดด้านงบประมาณ</legend>
                                                                                                <table cellpadding="0" cellspacing="0" width="100%">
                                                                                                    <tr>
                                                                                                        <td width="50%">
                                                                                                            <div class="formList-detail">
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td valign="top" width="150px">
                                                                                                                            วงเงินตามแผนงบประมาณ :
                                                                                                                        </td>
                                                                                                                        <td>
                                                                                                                            <asp:Label ID="lblAllBudget" runat="server" CssClass="Label" Text="5,556,345"></asp:Label>
                                                                                                                            &#160;บาท
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </div>
                                                                                                        </td>
                                                                                                        <td width="15px">
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <div class="formList-detail">
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td valign="top" width="150px">
                                                                                                                            วงเงินคงเหลือ :
                                                                                                                        </td>
                                                                                                                        <td>
                                                                                                                            <asp:Label ID="lblRemainBudget" runat="server" CssClass="Label" 
                                                                                                                                Text="3,244,123"></asp:Label>
                                                                                                                            &#160;บาท
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </div>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <%--<tr>
                                                                                                        <td>
                                                                                                            <div class="formList-detail">
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td valign="top" width="150px">
                                                                                                                            วงเงินค่าจ้างจากรายการอื่น :
                                                                                                                        </td>
                                                                                                                        <td>
                                                                                                                            <asp:Label ID="lblTranBudget" runat="server" CssClass="Label" Text="0"></asp:Label>
                                                                                                                            &#160;บาท
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </div>
                                                                                                        </td>
                                                                                                        <td width="15px">
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <div class="formList-detail">
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td valign="top" width="150px">
                                                                                                                            วงเงินคงเหลือรวมรายการค้าง :
                                                                                                                        </td>
                                                                                                                        <td>
                                                                                                                            <asp:Label ID="lblRemainTranBudget" runat="server" CssClass="Label" 
                                                                                                                                Text="0"></asp:Label>
                                                                                                                            &#160;บาท
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </div>
                                                                                                        </td>
                                                                                                    </tr>--%>
                                                                                                </table>
                                                                                            </fieldset>
                                                                                        </td>
                                                                                    </tr>
                                                                                <tr>
                                                                                    <td height="8px">
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <fieldset>
                                                                                            <legend>รายการพัสดุ</legend>
                                                                                            <table width="100%">
                                                                                                <asp:Panel ID="panelAddItem" runat="server">
                                                                                                    <tr>
                                                                                                        <td>
                                                                                                            <fieldset>
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td class="command-item" style="border: none">
                                                                                                                            <asp:LinkButton ID="btnAddItem" runat="server" CausesValidation="false" CssClass="LinkButton"> 
                                                                                                                                <img alt="" height="16px" src="../Image/Grid/AddRecord.gif" style="border:0px;vertical-align:middle;" width="16px" />
                                                                                                                                &#160;&#160;เพิ่มรายการพัสดุ 
                                                                                                                            </asp:LinkButton> 
                                                                                                                        </td>
                                                                                                                        <td class="command-item">
                                                                                                                            <asp:LinkButton ID="btnDeleteItem" runat="server" CausesValidation="false" CssClass="LinkButton" OnClick="btnDeleteItem_Click" OnClientClick="javascript:return confirm('ยืนยันการลบรายการพัสดุที่เลือก')"> 
                                                                                                                                <img alt="" height="16px" src="../Image/Grid/Delete.gif" style="border:0px;vertical-align:middle;" width="16px" />
                                                                                                                                &#160;&#160;ลบรายการพัสดุ 
                                                                                                                            </asp:LinkButton>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </fieldset>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </asp:Panel>
                                                                                                <tr>
                                                                                                    <td>
                                                                                                        <telerik:RadToolTip ID="TipAddItem" runat="server" Animation="Fade" 
                                                                                                            HideEvent="FromCode" IsClientID="false" ManualClose="true" 
                                                                                                            Modal="true" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="btnAddItem">
                                                                                                            <table width="100%">
                                                                                                                <tr class="table-outlook-header">
                                                                                                                    <td>
                                                                                                                        <asp:Label ID="lblTipHeader" runat="server" Font-Bold="true" Font-Size="Small" 
                                                                                                                            ForeColor="White" Text="รายการพัสดุ"></asp:Label>
                                                                                                                    </td>
                                                                                                                </tr>
                                                                                                                <tr>
                                                                                                                    <td>
                                                                                                                        <telerik:RadTreeView ID="TreeItem" runat="server" CausesValidation="false" 
                                                                                                                            CheckBoxes="true" CssClass="TreeView" DataFieldID="Id" 
                                                                                                                            DataFieldParentID="Parent_id" DataTextField="Name" DataValueField="Id" 
                                                                                                                            Height="300px" OnNodeExpand="TreeItem_NodeExpand" Skin="Outlook" 
                                                                                                                            TriStateCheckBoxes="true">
                                                                                                                            <collapseanimation duration="0" type="None" />
                                                                                                                            <expandanimation duration="0" type="None" />
                                                                                                                            <DataBindings>
                                                                                                                                <telerik:RadTreeNodeBinding ImageUrlField="Image_url" />
                                                                                                                            </DataBindings>
                                                                                                                        </telerik:RadTreeView>
                                                                                                                    </td>
                                                                                                                </tr>
                                                                                                                <tr>
                                                                                                                    <td align="center">
                                                                                                                        <br />
                                                                                                                        <asp:LinkButton ID="btnSelectItem" runat="server" CausesValidation="false" 
                                                                                                                            CssClass="button-next-background" onclick="btnSelectItem_Click" 
                                                                                                                            OnClientClick="javascript:return SelectItem();" Text="เลือกรายการ">
                                                                                                                        </asp:LinkButton>
                                                                                                                    </td>
                                                                                                                </tr>
                                                                                                            </table>
                                                                                                        </telerik:RadToolTip>
                                                                                                        <telerik:RadToolTipManager ID="TipEachItem" runat="server" Animation="None" 
                                                                                                            Height="450px" HideEvent="ManualClose" OnAjaxUpdate="OnAjaxUpdateItem" 
                                                                                                            Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" Width="450px">
                                                                                                        </telerik:RadToolTipManager>
                                                                                                    </td>
                                                                                                </tr>
                                                                                                <tr>
                                                                                                    <td>
                                                                                                        <telerik:RadGrid ID="Grid_SubItem" runat="server" 
                                                                                                            AllowFilteringByColumn="false" AllowMultiRowSelection="true" 
                                                                                                            AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False" 
                                                                                                            CssClass="RadGrid" EnableAJAX="True" GridLines="None" 
                                                                                                            OnItemCommand="Grid_SubItem_ItemCommand" 
                                                                                                            OnItemDataBound="Grid_SubItem_ItemDataBound" ShowFooter="true" 
                                                                                                            ShowStatusBar="false" Skin="Vista" Width="100%">
                                                                                                            <mastertableview allowmulticolumnsorting="true" grouploadmode="Client" 
                                                                                                            nomasterrecordstext="&lt;div align=center&gt;&lt;font color=gray&gt;&lt;i&gt;ไม่มีข้อมูล&lt;/i&gt;&lt;/font&gt;&lt;/div&gt;" 
                                                                                                            width="100%">
                                                                                                                <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                                                                <Columns>
                                                                                                                    <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="10px" />
                                                                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridClientSelectColumn>
                                                                                                                    <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                                                                        CurrentFilterFunction="Contains" DataField="Name" FilterControlWidth="100%" 
                                                                                                                        HeaderText="ชื่อ" ShowFilterIcon="false" SortExpression="Name" 
                                                                                                                        UniqueName="Name">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="200px" />
                                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                                        <ItemTemplate>
                                                                                                                            <asp:HyperLink ID="lkName" runat="server" NavigateUrl="#" 
                                                                                                                                Text='<%# Eval("Name") %>'></asp:HyperLink>
                                                                                                                        </ItemTemplate>
                                                                                                                    </telerik:GridTemplateColumn>
                                                                                                                    <telerik:GridTemplateColumn HeaderText="รายละเอียด" UniqueName="Descr">
                                                                                                                        <ItemTemplate> 
                                                                                                                            <asp:TextBox ID="txtDescr" runat="server" CssClass="TextBox" Skin="Outlook" 
                                                                                                                                Width="98%"></asp:TextBox> 
                                                                                                                        </ItemTemplate>
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                                    </telerik:GridTemplateColumn>
                                                                                                                    <telerik:GridTemplateColumn HeaderText="จำนวน" UniqueName="Qty">
                                                                                                                        <ItemTemplate> 
                                                                                                                            <telerik:RadNumericTextBox ID="txtQty" runat="server" NumberFormat-DecimalDigits="0" Skin="Outlook" Text='<%# Eval("Qty") %>' Width="50px">
                                                                                                                            </telerik:RadNumericTextBox> 
                                                                                                                        </ItemTemplate>
                                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                                    </telerik:GridTemplateColumn>
                                                                                                                    <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                                                                        CurrentFilterFunction="Contains" DataField="InfoItem.InfoUnit.Name" 
                                                                                                                        FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center" 
                                                                                                                        HeaderText="หน่วย" ShowFilterIcon="false" UniqueName="InfoItem.InfoUnit.Name">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="30px" />
                                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridTemplateColumn HeaderText="ราคาประมาณการ&lt;br&gt;ต่อหน่วย(บาท)" 
                                                                                                                        UniqueName="Price">
                                                                                                                        <ItemTemplate> 
                                                                                                                            <telerik:RadNumericTextBox ID="txtPrice" runat="server" Skin="Outlook" Text='<%# Eval("Price") %>' Width="100px">
                                                                                                                            </telerik:RadNumericTextBox> 
                                                                                                                        </ItemTemplate>
                                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                                        <FooterTemplate>
                                                                                                                            <telerik:RadNumericTextBox ID="txtTotalPrice" runat="server" ReadOnly="true" Skin="Outlook" Width="100px">
                                                                                                                                <clientevents onload="Load" />
                                                                                                                            </telerik:RadNumericTextBox>
                                                                                                                        </FooterTemplate>
                                                                                                                    </telerik:GridTemplateColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoItem.Seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoItem.Seq" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoExpense.Seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoExpense.Seq" 
                                                                                                                        Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoExpense.Name" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoExpense.Name" 
                                                                                                                        Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoSource.Seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoSource.Seq" 
                                                                                                                        Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoSource.Name" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoSource.Name" 
                                                                                                                        Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoOperationExpense.InfoOperation.Seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoOperationExpense.InfoOperation.Seq" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoOperationExpense.InfoOperation.Name" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoOperationExpense.InfoOperation.Name" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoProjectExpense.InfoProject.Seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoProjectExpense.InfoProject.Seq" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoProjectExpense.InfoProject.Name" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoProjectExpense.InfoProject.Name" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoRule.Seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoRule.Seq" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoRule.Name" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoRule.Name" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoOperationExpense.seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoOperationExpense.seq" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                    <telerik:GridBoundColumn DataField="InfoProjectExpense.seq" 
                                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoProjectExpense.seq" Visible="false">
                                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                                    </telerik:GridBoundColumn>
                                                                                                                </Columns>
                                                                                                            </mastertableview>
                                                                                                            <clientsettings enablerowhoverstyle="true">
                                                                                                                <selecting allowrowselect="True" />
                                                                                                            </clientsettings>
                                                                                                        </telerik:RadGrid>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </fieldset>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </asp:Panel>
                                                    <asp:Panel ID="panelGrid_Item" runat="server" CssClass="panelGrid" ScrollBars="Auto">
                                                        <div align="Left">
                                                            <telerik:RadGrid ID="Grid_Item" runat="server" AllowFilteringByColumn="true" 
                                                                AllowMultiRowSelection="True" AllowPaging="false" AllowSorting="True" 
                                                                AutoGenerateColumns="False" CssClass="RadGrid" EnableAJAX="True" 
                                                                GridLines="None" OnItemCommand="Grid_Item_ItemCommand" 
                                                                OnItemDataBound="Grid_Item_ItemDataBound" ShowFooter="true" 
                                                                ShowStatusBar="false" Skin="Outlook" Width="95%" >
                                                                <mastertableview allowmulticolumnsorting="true" grouploadmode="Client" 
                                                                nomasterrecordstext="&lt;div align=center&gt;&lt;font color=gray&gt;&lt;i&gt;ไม่มีข้อมูล&lt;/i&gt;&lt;/font&gt;&lt;/div&gt;" 
                                                                width="100%" DataKeyNames="Seq">
                                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" /> 
																	<Columns>
	                                                                    <custom:CustomClientSelectColumn UniqueName="ClientSelectColumn">
		                                                                     
																			
                                                                            <HeaderStyle Width="20px" HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <FilterTemplate> 
                                                                                <asp:LinkButton ID="clearFilter" runat="server" ToolTip="ยกเลิกการค้นหา" OnClick="clearFilter_Item_Click">
                                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cancel.gif" />
                                                                                </asp:LinkButton>
                                                                            </FilterTemplate> 
																			
                                                                        </custom:CustomClientSelectColumn> 
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="InfoSource.Name" 
                                                                            FilterControlWidth="100%" Groupable="true" 
                                                                            GroupByExpression="InfoSource.Name Group By InfoSource.Seq" 
                                                                            HeaderText="แหล่งเงิน" ShowFilterIcon="false" UniqueName="InfoSource.Name" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="InfoExpense.Name" 
                                                                            FilterControlWidth="100%" Groupable="true" 
                                                                            GroupByExpression="InfoExpense.Name Group By InfoExpense.Seq" 
                                                                            HeaderText="รายจ่าย" ShowFilterIcon="false" UniqueName="InfoExpense.Name" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="InfoRule.Name" 
                                                                            FilterControlWidth="100%" Groupable="true" 
                                                                            GroupByExpression="InfoRule.Name Group By InfoRule.Seq" 
                                                                            HeaderText="ระเบียบการจัดหา" ShowFilterIcon="false" UniqueName="InfoRule.Name" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="InfoOperationExpense.InfoOperation.Name" 
                                                                            FilterControlWidth="100%" Groupable="true" 
                                                                            GroupByExpression="InfoOperationExpense.InfoOperation.Name Group By InfoOperationExpense.InfoOperation.Seq" 
                                                                            HeaderText="อนุมัติหลักการ" ShowFilterIcon="false" UniqueName="InfoOperationExpense.InfoOperation.Name" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="InfoProjectExpense.InfoProject.Name" 
                                                                            FilterControlWidth="100%" Groupable="true" 
                                                                            GroupByExpression="InfoProjectExpense.InfoProject.Name Group By InfoProjectExpense.InfoProject.Seq" 
                                                                            HeaderText="แผนงบประมาณ" ShowFilterIcon="false" UniqueName="InfoProjectExpense.InfoProject.Name" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="Name" FilterControlWidth="100%" 
                                                                            HeaderText="รายการ" ShowFilterIcon="false" SortExpression="Name" 
                                                                            UniqueName="Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="250px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:HyperLink ID="lkName" runat="server" NavigateUrl="#" Text='<%# Eval("Name") %>'></asp:HyperLink>
                                                                            </ItemTemplate>
                                                                        </telerik:GridTemplateColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="Descr" FilterControlWidth="100%" 
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="รายละเอียด" 
                                                                            ShowFilterIcon="false" UniqueName="Descr">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                            <FooterStyle HorizontalAlign="Right" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="Qty" DataFormatString="{0:N0}" 
                                                                            FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center" 
                                                                            HeaderText="จำนวน" ShowFilterIcon="false" UniqueName="Qty">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="InfoItem.InfoUnit.Name" 
                                                                            FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center" 
                                                                            HeaderText="หน่วย" ShowFilterIcon="false" UniqueName="InfoItem.InfoUnit.Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="30px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="Price" FilterControlWidth="100%" 
                                                                            HeaderText="ราคาประมาณการ&lt;br&gt;ต่อหน่วย(บาท)" ShowFilterIcon="false" 
                                                                            UniqueName="Price">
                                                                            <ItemTemplate> 
                                                                                <asp:Label ID="lblPrice" runat="server" Text='<%# Eval("Price", "{0:N2}") %>'> </asp:Label> 
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Center" Width="120px" />
                                                                            <ItemStyle HorizontalAlign="Right" />
                                                                            <FooterStyle HorizontalAlign="Right" />
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="lblTotalPrice" runat="server" CssClass="font-label" 
                                                                                    Font-Bold="true" Width="100px"> </asp:Label>
                                                                            </FooterTemplate>
                                                                        </telerik:GridTemplateColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoItem.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoItem.Seq" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoExpense.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoExpense.Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoSource.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoSource.Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoRule.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoRule.Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoOperationExpense.InfoOperation.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoOperationExpense.InfoOperation.Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoProjectExpense.InfoProject.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoProjectExpense.InfoProject.Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                    </Columns>
                                                                </mastertableview>
                                                                <clientsettings enablerowhoverstyle="true">
                                                                    <selecting allowrowselect="True" />
                                                                </clientsettings>
                                                            </telerik:RadGrid>
                                                            <telerik:RadToolTipManager ID="TipItemDetail" runat="server" Animation="None" 
                                                                Height="450px" HideEvent="ManualClose" OnAjaxUpdate="OnAjaxUpdateItemDetail" 
                                                                Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" Width="456px">
                                                            </telerik:RadToolTipManager>
                                                        </div>
                                                        <br />
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                        </asp:Panel>

                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView3" runat="server">
                        <asp:Panel ID="panel_Committee" runat="server">
                            <table style="width: 98%;" cellpadding="0" cellspacing="0">
                                <tr valign="top">
                                    <td valign="top">
                                        <asp:Panel ID="panelCommand_Committee" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table>
                                                        <tr class="command-list">
                                                            <td class="command-item" style="border: none">
                                                                <asp:LinkButton ID="ShowGrid_Committee" runat="server" CssClass="LinkButton" CausesValidation="false" OnClick="ShowGrid_Committee_Click">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/table.gif" />&nbsp;&nbsp;แสดงข้อมูลทั้งหมด
                                                                </asp:LinkButton>                        
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNew_Committee" runat="server" CssClass="LinkButton" OnClick="AddNew_Committee_Click" CausesValidation="false">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/AddRecord.gif" />&nbsp;&nbsp;เพิ่มข้อมูลใหม่
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNewSave_Committee" runat="server" CssClass="LinkButton" Visible="false" OnClick="AddNewSave_Committee_Click">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cmd_Save.gif" />&nbsp;&nbsp;บันทึกข้อมูล
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="Delete_Committee" runat="server" CssClass="LinkButton" OnClientClick="javascript:return confirm('ยืนยันการลบข้อมูลที่เลือก')" OnClick="Delete_Committee_Click">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Delete.gif" />&nbsp;&nbsp;ลบข้อมูล
                                                                </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="panelData_Committee" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <asp:Panel ID="panelHeaderList3" runat="server">
                                                        <div class="header-grid">
                                                            <asp:Label ID="Label14" runat="server" Text="ข้อมูลรายชื่อคณะกรรมการ"></asp:Label>
                                                        </div>
                                                    </asp:Panel>
                                                    <asp:Panel CssClass="panelList" runat="server" ID="panelList_Committee" ScrollBars="Auto" Visible="false">
                                                        <table width="98%">
                                                            <tr>
                                                                <td>
                                                                    <table width="98%" cellpadding="0" cellspacing="0">
                                                                        <tr>
                                                                            <td width="30px">
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td width="150px" valign="top">
                                                                                                วิธีการเพิ่มข้อมูล :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:RadioButtonList ID="rblAddCommittee" runat="server" AutoPostBack="true" CausesValidation="false"
                                                                                                OnSelectedIndexChanged="rblAddCommittee_SelectedIndexChanged" RepeatDirection="Horizontal" RepeatLayout="Flow"> 
                                                                                                    <asp:ListItem Text="ปกติ" Value="Normal"></asp:ListItem>
                                                                                                    <asp:ListItem Text="ตัวช่วย" Value="Wizard"></asp:ListItem>
                                                                                                </asp:RadioButtonList>
                                                                                                &nbsp;<label id="Label15" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <asp:Panel ID="panelAddCommittee_Normal" runat="server" Visible="false">
                                                            <table width="98%">
                                                                <tr>
                                                                    <td>
                                                                        <table width="98%" cellpadding="0" cellspacing="0">
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td width="150px" valign="top">
                                                                                                    ชุดที่ :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <telerik:RadNumericTextBox ID="txtCommitteeRefno" runat="server" Width="50px" Skin="Outlook" NumberFormat-DecimalDigits="0">
                                                                                                    </telerik:RadNumericTextBox> 
                                                                                                    &nbsp;<label id="Label16" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValtxtCommitteeRefno" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td width="150px" valign="top">
                                                                                                    ประเภทกรรมการ :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:RadioButtonList ID="rblCommitteeType" runat="server" AutoPostBack="true" CausesValidation="false"
                                                                                                    OnSelectedIndexChanged="rblCommitteeType_SelectedIndexChanged" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                                                                        <asp:ListItem Text="บุคคลภายใน" Value="1" Selected="True"></asp:ListItem>
                                                                                                        <asp:ListItem Text="บุคคลภายนอก" Value="2"></asp:ListItem>
                                                                                                    </asp:RadioButtonList>
                                                                                                    &nbsp;<label id="Label17" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                            <asp:Panel ID="panelInternal" runat="server" Visible="true">
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <div class="formList-detail">
                                                                                            <table>
                                                                                                <tr>
                                                                                                    <td width="150px" valign="top">
                                                                                                        ชื่อกรรมการ :
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <telerik:RadComboBox runat="server" ID="cbCommitteeInternalName" Height="230px" Width="740px" AllowCustomText="true" ShowDropDownOnTextboxClick="true"
                                                                                                            EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." MarkFirstMatch="false" ShowMoreResultsBox="true" EnableLoadOnDemand="true" 
                                                                                                            EnableVirtualScrolling="true" HighlightTemplatedItems="true" OnItemsRequested="cbCommitteeInternalName_ItemsRequested"
                                                                                                            OnClientTextChange="onTextChangeGeneral">
                                                                                                            <HeaderTemplate>
                                                                                                                <table class="font-label" cellpadding="0" cellspacing="0">
                                                                                                                    <tr>
                                                                                                                        <td width="200px" align="center"><b>หน่วยงาน</b></td>
                                                                                                                        <td width="150px" align="center"><b>ชื่อ-สกุล</b></td>
                                                                                                                        <td width="150px" align="center"><b>ตำแหน่ง</b></td>
                                                                                                                        <td width="190px" align="center"><b>ระดับ</b></td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </HeaderTemplate>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Table id="tableCommmitteeInternalName" runat="server" CssClass="font-label" CellPadding="0" CellSpacing="0">
                                                                                                                </asp:Table>
                                                                                                            </ItemTemplate>
                                                                                                        </telerik:RadComboBox>
                                                                                                        &nbsp;<label id="Label19" runat="server"><font color="red">*</font></label>
                                                                                                    </td>
                                                                                                </tr>
                                                                                                <tr>
                                                                                                    <td>
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <asp:Panel ID="panelValcbCommitteeInternalName" runat="server">
                                                                                                        </asp:Panel>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </div>
                                                                                    </td>
                                                                                </tr>
                                                                            </asp:Panel>
                                                                            <asp:Panel ID="panelExternal" runat="server" Visible="false">
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <div class="formList-detail">
                                                                                            <table>
                                                                                                <tr>
                                                                                                    <td width="150px" valign="top">
                                                                                                        ชื่อกรรมการ :
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <asp:TextBox CssClass="TextBox" ID="txtCommitteeExternalName" runat="server" Width="350px"></asp:TextBox>
                                                                                                        &nbsp;<label id="Label20" runat="server"><font color="red">*</font></label>
                                                                                                    </td>
                                                                                                </tr>
                                                                                                <tr>
                                                                                                    <td>
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <asp:Panel ID="panelValtxtCommitteeExternalName" runat="server">
                                                                                                        </asp:Panel>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </div>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                    </td>
                                                                                    <td>
                                                                                        <div class="formList-detail">
                                                                                            <table>
                                                                                                <tr>
                                                                                                    <td width="150px" valign="top">
                                                                                                        รายละเอียด :
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <asp:TextBox CssClass="TextBox" ID="txtCommitteeExternalDescr" runat="server" Width="350px" Height="50px" TextMode="MultiLine"></asp:TextBox>
                                                                                                    </td>
                                                                                                </tr>
                                                                                                <tr>
                                                                                                    <td>
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <asp:Panel ID="ValtxtCommitteeExternalDescr" runat="server">
                                                                                                        </asp:Panel>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </div>
                                                                                    </td>
                                                                                </tr>
                                                                            </asp:Panel>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td width="150px" valign="top">
                                                                                                    ตำแหน่งกรรมการ :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <telerik:RadComboBox CssClass="RadComboBox" runat="server" ID="cbCommitteePosition" AllowCustomText="true" ShowDropDownOnTextboxClick="true"
                                                                                                        Filter="Contains" DataTextField="Name" DataValueField="Seq"
                                                                                                        EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                                        OnClientTextChange="onTextChangeGeneral">
                                                                                                    </telerik:RadComboBox>
                                                                                                    &nbsp;<label id="Label21" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValcbCommitteePosition" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td width="150px" valign="top">
                                                                                                    หน้าที่กรรมการ :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <telerik:RadComboBox CssClass="RadComboBox" runat="server" ID="cbCommitteeFunction" AllowCustomText="true" ShowDropDownOnTextboxClick="true"
                                                                                                        Filter="Contains" DataTextField="Name" DataValueField="Seq" Width="250px"
                                                                                                        EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                                        OnClientTextChange="onTextChangeGeneral">
                                                                                                    </telerik:RadComboBox>
                                                                                                    &nbsp;<label id="Label22" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValcbCommitteeFunction" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </asp:Panel>
                                                        <asp:Panel ID="panelAddCommittee_Wizard" runat="server" Visible="true">
                                                            <table width="98%">
                                                                <tr>
                                                                    <td>
                                                                        <table width="98%" cellpadding="0" cellspacing="0">
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td width="150px" valign="top">
                                                                                                    วิธีการจัดหา :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <telerik:RadComboBox CssClass="RadComboBox" runat="server" ID="cbPurchaseMethod" ShowDropDownOnTextboxClick="true"
                                                                                                        DataTextField="Descr" DataValueField="Seq" Width="200px" EmptyMessage=".. เลือกวิธีการจัดหา .." AutoPostBack="true"
                                                                                                        LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" EnableLoadOnDemand="true" CausesValidation="false"
                                                                                                        OnClientTextChange="onTextChangeGeneral" OnItemsRequested="cbPurchaseMethod_ItemsRequested"
                                                                                                        OnSelectedIndexChanged="cbPurchaseMethod_SelectedIndexChanged"> 
                                                                                                    </telerik:RadComboBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValcbPurchaseMethod" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <asp:Panel ID="panelCommitteeGroup" runat="server" Visible="false">
                                                                <table width="98%">
                                                                    <tr>
                                                                        <td valign="top">
                                                                            <table width="98%" cellpadding="0" cellspacing="0">
                                                                                <tr>
                                                                                    <td width="30px">
                                                                                    </td>
                                                                                    <td>
                                                                                        <div class="formList-detail">
                                                                                            <table width="100%">
                                                                                                <tr>
                                                                                                    <td width="150px" valign="top">
                                                                                                        เลือกจำนวนชุดคณะกรรมการ :
                                                                                                    </td>
                                                                                                    <td width="250px" valign="top">
                                                                                                        <asp:CheckBoxList ID="cblCommitteeFunction" runat="server" DataTextField="Name" DataValueField="Seq" RepeatDirection="Vertical" CellSpacing="7" CellPadding="0">
                                                                                                        </asp:CheckBoxList>
                                                                                                    </td>
                                                                                                    <td valign="top">
                                                                                                        <asp:Panel ID="panelNumCommitteeFunction" runat="server">
                                                                                                            <asp:Table id="tableNumCommitteeFunction" runat="server">
                                                                                                            </asp:Table>
                                                                                                        </asp:Panel>
                                                                                                    </td>
                                                                                                    <td valign="bottom" align="right">
                                                                                                        <asp:Button ID="btnAddGroupCommittee" runat="server" Text="เพิ่มรายชื่อคณะกรรมการ" OnClick="btnAddGroupCommittee_Click">
                                                                                                        </asp:Button>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </div>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                            <asp:Panel ID="panelSubCommittee" runat="server" Visible="true">
                                                                <table width="98%">
                                                                    <tr>
                                                                        <td valign="top">
                                                                            <table width="98%" cellpadding="0" cellspacing="0">
                                                                                <tr>
                                                                                    <td width="30px">
                                                                                    </td>
                                                                                    <td valign="top">
                                                                                        <telerik:RadGrid CssClass="RadGrid" ID="Grid_SubCommittee" runat="server" AllowFilteringByColumn="false"
                                                                                        AllowMultiRowSelection="true" AllowPaging="false" AllowSorting="True"
                                                                                        AutoGenerateColumns="False" EnableAJAX="True" Visible="false" ShowHeader="false" 
                                                                                        GridLines="None" ShowStatusBar="false" Skin="Hay" Width="100%"
                                                                                        OnItemDataBound="Grid_SubCommittee_ItemDataBound">
                                                                                            <MasterTableView GroupLoadMode="Client" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                                                <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                                                <Columns>
                                                                                                    <telerik:GridBoundColumn DataField="InfoFunction.Name"
                                                                                                        GroupByExpression="InfoFunction.Name Group By InfoFunction.Seq" Groupable="true" Visible="false"
                                                                                                        AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                        FilterControlWidth="100%" HeaderText="หน้าที่"
                                                                                                        UniqueName="InfoFunction.Name">
                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                    </telerik:GridBoundColumn>
                                                                                                    <telerik:GridBoundColumn DataField="Ref_no"
                                                                                                        GroupByExpression="Ref_no Group By Ref_no" Groupable="true" Visible="false"
                                                                                                        AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                        FilterControlWidth="100%" HeaderText="ชุดที่" 
                                                                                                        UniqueName="Ref_no">
                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                    </telerik:GridBoundColumn>
                                                                                                    <telerik:GridBoundColumn DataField="InfoPosition.Name" 
                                                                                                        AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                        FilterControlWidth="100%"
                                                                                                        HeaderStyle-HorizontalAlign="Center" HeaderText="ตำแหน่ง" 
                                                                                                        UniqueName="InfoPosition.Name">
                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="70px" />
                                                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                                                    </telerik:GridBoundColumn>
                                                                                                    <telerik:GridTemplateColumn UniqueName="Com_type" HeaderText="ประเภทบุคลากร">
                                                                                                        <ItemTemplate> 
                                                                                                            <asp:RadioButtonList ID="rblCommitteeType" runat="server" RepeatDirection="Vertical" RepeatLayout="Flow">
                                                                                                                <asp:ListItem Text="บุคลากรภายใน" Value="1" Selected="True"></asp:ListItem>
                                                                                                                <asp:ListItem Text="บุคลากรภายนอก" Value="2"></asp:ListItem>
                                                                                                            </asp:RadioButtonList>
                                                                                                        </ItemTemplate>
                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="120px" />
                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                    </telerik:GridTemplateColumn>
                                                                                                    <telerik:GridTemplateColumn UniqueName="Internal" HeaderText="รายชื่อบุคลากรภายใน">
                                                                                                        <ItemTemplate> 
                                                                                                            <asp:Panel ID="panelGridCommitteeInternalName" runat="server">
                                                                                                                <telerik:RadComboBox runat="server" ID="cbGridInternalName" Height="230px" Width="440px" AllowCustomText="true" ShowDropDownOnTextboxClick="true"
                                                                                                                    EmptyMessage=".. เลือกหรือพิมพ์ชื่อบุคลากรภายใน .." MarkFirstMatch="false" ShowMoreResultsBox="true" EnableLoadOnDemand="true" 
                                                                                                                    EnableVirtualScrolling="true" HighlightTemplatedItems="true" OnItemsRequested="cbGridInternalName_ItemsRequested"
                                                                                                                    OnClientTextChange="onTextChangeGeneral">
                                                                                                                    <HeaderTemplate>
                                                                                                                        <table class="font-label" cellpadding="0" cellspacing="0">
                                                                                                                            <tr>
                                                                                                                                <td width="100px" align="center"><b>หน่วยงาน</b></td>
                                                                                                                                <td width="100px" align="center"><b>ชื่อ-สกุล</b></td>
                                                                                                                                <td width="100px" align="center"><b>ตำแหน่ง</b></td>
                                                                                                                                <td width="100px" align="center"><b>ระดับ</b></td>
                                                                                                                            </tr>
                                                                                                                        </table>
                                                                                                                    </HeaderTemplate>
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Table id="tableGridInternalName" runat="server" CssClass="font-label" CellPadding="0" CellSpacing="0">
                                                                                                                        </asp:Table>
                                                                                                                    </ItemTemplate>
                                                                                                                </telerik:RadComboBox>
                                                                                                            </asp:Panel>
                                                                                                        </ItemTemplate>
                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                                    </telerik:GridTemplateColumn>
                                                                                                    <telerik:GridTemplateColumn UniqueName="External" HeaderText="รายชื่อ/รายละเอียดบุคลากรภายนอก">
                                                                                                        <ItemTemplate> 
                                                                                                            <asp:Panel ID="panelGridCommitteeExternalName" runat="server">
                                                                                                                <telerik:RadTextBox CssClass="TextBox" ID="txtGridExternalName" runat="server" Skin="Outlook" EmptyMessage=".. พิมพ์ชื่อกรรมการ .." Width="176px"></telerik:RadTextBox> 
                                                                                                            </asp:Panel>
                                                                                                            <asp:Panel ID="panelGridCommitteeExternalDescr" runat="server">
                                                                                                                <telerik:RadTextBox CssClass="TextBox" ID="txtGridExternalDescr" runat="server" Skin="Outlook" EmptyMessage=".. พิมพ์รายละเอียดกรรมการ .." Width="176px"></telerik:RadTextBox> 
                                                                                                            </asp:Panel>
                                                                                                        </ItemTemplate>
                                                                                                        <HeaderStyle HorizontalAlign="Center" Width="200px" />
                                                                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
                                                                                                    </telerik:GridTemplateColumn>
                                                                                                    <telerik:GridBoundColumn DataField="InfoFunction.Seq" 
                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoFunction.Seq" Visible="false">
                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                    </telerik:GridBoundColumn>
                                                                                                    <telerik:GridBoundColumn DataField="InfoPosition.Seq" 
                                                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoPosition.Seq" Visible="false">
                                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                                    </telerik:GridBoundColumn>
                                                                                                </Columns>
                                                                                            </MasterTableView>
                                                                                            <ClientSettings EnableRowHoverStyle="true" AllowGroupExpandCollapse="true">
                                                                                                <Selecting AllowRowSelect="True" />
                                                                                            </ClientSettings>
                                                                                        </telerik:RadGrid>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                        </asp:Panel>
                                                    </asp:Panel>
                                                    <asp:Panel CssClass="panelGrid" ID="panelGrid_Committee" runat="server" ScrollBars="Auto">
                                                        <div align="left">
                                                            <telerik:RadGrid CssClass="RadGrid" ID="Grid_Committee" runat="server" AllowFilteringByColumn="true"
                                                            AllowMultiRowSelection="True" AllowPaging="false" AllowSorting="True"
                                                            AutoGenerateColumns="False" EnableAJAX="True"
                                                            GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                            OnItemCommand="Grid_Committee_ItemCommand">
                                                                <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                    <Columns>
                                                                        <custom:CustomClientSelectColumn UniqueName="ClientSelectColumn">
                                                                            <HeaderStyle Width="20px" HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <FilterTemplate> 
                                                                                <asp:LinkButton ID="clearFilter" runat="server" ToolTip="ยกเลิกการค้นหา" OnClick="clearFilter_Committee_Click">
                                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cancel.gif" />
                                                                                </asp:LinkButton>
                                                                            </FilterTemplate> 
                                                                        </custom:CustomClientSelectColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoFunction.Name"
                                                                            GroupByExpression="InfoFunction.Name Group By InfoFunction.Seq" Groupable="true" Visible="false"
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%" HeaderText="หน้าที่"
                                                                            UniqueName="InfoFunction.Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Ref_no"
                                                                            GroupByExpression="Ref_no Group By Ref_no" Groupable="true" Visible="false"
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%" HeaderText="ชุดที่" 
                                                                            UniqueName="Ref_no">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoPosition.Name" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="ตำแหน่ง" 
                                                                            UniqueName="InfoPosition.Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoType.Name" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="ประเภท" 
                                                                            UniqueName="InfoType.Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Name" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="ชื่อกรรมการ" 
                                                                            UniqueName="Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Descr" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="รายละเอียด" 
                                                                            UniqueName="Descr">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Com_type" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Com_type" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoEmployee.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoEmployee.Seq" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Ex_name" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Ex_name" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Ex_descr" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Ex_descr" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoFunction.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoFunction.Seq" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoPosition.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoPosition.Seq" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                    </Columns>
                                                                </MasterTableView>
                                                                <ClientSettings EnableRowHoverStyle="true" >
                                                                    <Selecting AllowRowSelect="True" />
                                                                </ClientSettings>
                                                            </telerik:RadGrid>
                                                        </div>
                                                        <br />
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView4" runat="server">
                        <asp:Panel ID="panel_File" runat="server">
                            <table style="width: 98%;" cellpadding="0" cellspacing="0">
                                <tr valign="top">
                                    <td valign="top">
                                        <asp:Panel ID="panelCommand_File" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table>
                                                        <tr class="command-list">
                                                            <td class="command-item" style="border: none">
                                                                <asp:LinkButton ID="ShowGrid_File" runat="server" CssClass="LinkButton" CausesValidation="false" OnClick="ShowGrid_File_Click">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/table.gif" />&nbsp;&nbsp;แสดงข้อมูลทั้งหมด
                                                                </asp:LinkButton>                        
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNew_File" runat="server" CssClass="LinkButton" OnClick="AddNew_File_Click" CausesValidation="false">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/AddRecord.gif" />&nbsp;&nbsp;เพิ่มข้อมูลใหม่
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNewSave_File" runat="server" CssClass="LinkButton" Visible="false" OnClick="AddNewSave_File_Click">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cmd_Save.gif" />&nbsp;&nbsp;บันทึกข้อมูล
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="Delete_File" runat="server" CssClass="LinkButton" OnClientClick="javascript:return confirm('ยืนยันการลบข้อมูลที่เลือก')" OnClick="Delete_File_Click" CausesValidation="false">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Delete.gif" />&nbsp;&nbsp;ลบข้อมูล
                                                                </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="panelData_File" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <asp:Panel ID="panelHeaderList4" runat="server">
                                                        <div class="header-grid">
                                                            <asp:Label ID="Label9" runat="server" Text="ข้อมูลเอกสารแนบ"></asp:Label>
                                                        </div>
                                                    </asp:Panel>
                                                    <asp:Panel CssClass="panelList" runat="server" ID="panelList_File" ScrollBars="Auto" Visible="false">
                                                        <table width="98%" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td width="30px">
                                                                </td>
                                                                <td>
                                                                    <div class="formList-detail">
                                                                        <table>
                                                                            <tr>
                                                                                <td width="100px" valign="top">
                                                                                    ชื่อไฟล์ :
                                                                                </td>
                                                                                <td>
                                                                                    <asp:TextBox ID="txtFileName" runat="server" Width="650px"></asp:TextBox>
                                                                                    &nbsp;<label id="Label10" runat="server"><font color="red">*</font></label>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="panelValtxtFileName" runat="server">
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td width="30px">
                                                                </td>
                                                                <td>
                                                                    <div class="formList-detail">
                                                                        <table>
                                                                            <tr>
                                                                                <td width="100px" valign="top">
                                                                                    ที่อยู่ไฟล์ :
                                                                                </td>
                                                                                <td>
                                                                                    <div id="uploadFile_div" runat="server">
                                                                                        <input id="attachment" type="file" size="90" runat="server" name="attachment" onchange="getSourceFile();" onkeydown="return false;" />
                                                                                        &nbsp;<label id="Label11" runat="server"><font color="red">*</font></label>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="panelValattachment" runat="server">
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                    <asp:Panel CssClass="panelGrid" ID="panelGrid_File" runat="server" ScrollBars="Auto">
                                                        <div align="left">
                                                            <telerik:RadGrid CssClass="RadGrid" ID="Grid_File" runat="server" AllowFilteringByColumn="true"
                                                            AllowMultiRowSelection="True" AllowPaging="false" AllowSorting="True"
                                                            AutoGenerateColumns="False" EnableAJAX="True"
                                                            GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                            OnItemCommand="Grid_File_ItemCommand">
                                                                <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                    <Columns>
                                                                        <custom:CustomClientSelectColumn UniqueName="ClientSelectColumn">
                                                                            <HeaderStyle Width="20px" HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <FilterTemplate> 
                                                                                <asp:LinkButton ID="clearFilter" runat="server" ToolTip="ยกเลิกการค้นหา" OnClick="clearFilter_File_Click">
                                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cancel.gif" />
                                                                                </asp:LinkButton>
                                                                            </FilterTemplate> 
                                                                        </custom:CustomClientSelectColumn>
                                                                        <telerik:GridTemplateColumn DataField="Name"  HeaderText="ชื่อไฟล์"
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%" UniqueName="Name" SortExpression="Name">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:HyperLink ID="lkName" runat="server" Text='<%# Eval("Name") %>' NavigateUrl='<%# "../Form/Sys_File_View.aspx?table=ICM_PRE_PURCHASE_REQUEST_FILE&field=ICM_PPR_FILE_SEQ&ex=" + Eval("Extension") + "&name=" + Eval("Name") + "&content=" + Eval("Content_type") + "&seq=" + Eval("Seq") %>' Target="_blank"></asp:HyperLink>
                                                                            </ItemTemplate>
                                                                        </telerik:GridTemplateColumn>
                                                                        <telerik:GridBoundColumn DataField="Extension" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="นามสกุลไฟล์" 
                                                                            UniqueName="Extension">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Content_type" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Content_type" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                    </Columns>
                                                                </MasterTableView>
                                                                <ClientSettings EnableRowHoverStyle="true" >
                                                                    <Selecting AllowRowSelect="True" />
                                                                </ClientSettings>
                                                            </telerik:RadGrid>
                                                        </div>
                                                        <br />
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView5" runat="server">
                        <asp:Panel ID="panel1" runat="server">
                            <div class="bigModuleFull" align="left">
                                <div class="bigModuleBottomFull">
                                    <asp:Panel ID="panel2" runat="server">
                                        <div class="header-grid">
                                            <asp:Label ID="Label3" runat="server" Text="ข้อมูลการติดต่อความคืบหน้า"></asp:Label>
                                        </div>
                                    </asp:Panel>
                                    <div class="header-grid-detail">
                                        <table width="100%">
                                            <tr>
                                                <td width="200px">
                                                    สถานะความคืบหน้าปัจจุบัน :
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblProgress" runat="server" Text="lblProgress"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    <asp:Panel CssClass="panelList" runat="server" ID="panel3" ScrollBars="Auto" Height="300px">
                                        <telerik:RadPanelBar ID="RadPanelBar1" runat="server"  Width="98%">
                                                <Items>
                                                    <telerik:RadPanelItem Expanded="false" Text="แจ้งความประสงค์" runat="server"> 
                                                        <Items>
                                                            <telerik:RadPanelItem Value="Bar1" runat="server">
                                                                <ItemTemplate>
                                                                    <asp:Panel ID="Panel1" runat="server" Width="100%">
                                                                        <table width="100%">
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                   <div class="header-grid-detail">
                                                                                      <table width="100%">
                                                                                         <tr>
                                                                                            <td>
                                                                                                <asp:Label ID="lblHeaderBar1" runat="server" Text="ให้อนุมัติ"></asp:Label>
                                                                                            </td>
                                                                                            <td align="right">
                                                                                                <asp:Button ID="btnHistoryApprove" runat="server" Text="ประวัติการให้อนุมัติ" OnClick="btnHistoryApprove_Click" />
                                                                                                
                                                                                            </td>
                                                                                         </tr>
                                                                                      </table>
                                                                                  </div> 
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                    <telerik:RadGrid CssClass="RadGrid" ID="GridApprove" runat="server" AllowFilteringByColumn="false"
                                                                                    AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True"
                                                                                    GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                                                    OnItemCommand="GridApprove_ItemCommand" >
                                                                                        <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                                            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                                            <Columns>
                                                                                                <telerik:GridBoundColumn DataField="Order" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ลำดับ" 
                                                                                                    UniqueName="Order">
                                                                                                    <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoFromEmp.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ผู้ส่ง" 
                                                                                                    UniqueName="InfoEmpHeard.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoToEmp.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ผู้รับ" 
                                                                                                    UniqueName="InfoEmpTo.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoRouteStatus.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="สถานะ" 
                                                                                                    UniqueName="InfoRouteStatus.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="Remark" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="หมายเหตุ" 
                                                                                                    UniqueName="Remark">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="Order" 
                                                                                                    HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                                                    Visible="false">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                            </Columns>
                                                                                        </MasterTableView>
                                                                                    </telerik:RadGrid>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                   <div class="header-grid-detail">
                                                                                      <table width="100%">
                                                                                         <tr>
                                                                                            <td>
                                                                                                <asp:Label ID="lblHeaderBar2" runat="server" Text="แจ้งให้ทราบ"></asp:Label>
                                                                                            </td>
                                                                                            <td align="right">
                                                                                                <asp:Button ID="btnHistoryInform" runat="server" Text="ประวัติการแจ้งให้ทราบ" OnClick="btnHistoryInform_Click" />
                                                                                                
                                                                                            </td>
                                                                                         </tr>
                                                                                      </table>
                                                                                  </div> 
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td width="30px">
                                                                                </td>
                                                                                <td>
                                                                                    <telerik:RadGrid CssClass="RadGrid" ID="GridInform" runat="server" AllowFilteringByColumn="false"
                                                                                    AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True"
                                                                                    GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                                                    OnItemCommand="GridInform_ItemCommand" >
                                                                                        <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                                            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                                            <Columns>
                                                                                                <telerik:GridBoundColumn DataField="InfoFromEmp.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ผู้ส่ง" 
                                                                                                    UniqueName="InfoEmpHeard.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoToEmp.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ผู้รับ" 
                                                                                                    UniqueName="InfoEmpTo.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoToEmp.InfoJobSite.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="หน่วยงาน" 
                                                                                                    UniqueName="InfoEmpTo.InfoJobSite.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoToEmp.InfoClass.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="รายละเอียด" 
                                                                                                    UniqueName="InfoEmpTo.InfoClass.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="Order" 
                                                                                                    HeaderStyle-HorizontalAlign="Center" UniqueName="Order" 
                                                                                                    Visible="false">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                            </Columns>
                                                                                        </MasterTableView>
                                                                                    </telerik:RadGrid>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </asp:Panel>  
                                                                 </ItemTemplate>
                                                            </telerik:RadPanelItem>
                                                        </Items>
                                                    </telerik:RadPanelItem>
                                                    <telerik:RadPanelItem Expanded="False" Text="ดำเนินการขอความเห็นชอบ" runat="server"> 
                                                        <Items>
                                                            <telerik:RadPanelItem Value="Bar2" runat="server">
                                                                <ItemTemplate>
                                                                      <asp:Panel ID="Panel2" runat="server" Width="100%">
                                                                        <table width="100%">
                                                                            <tr><td width="30px"></td><td></td></tr>
                                                                            <tr>
                                                                                <td width="30px"></td>
                                                                                <td>
                                                                                    <telerik:RadGrid CssClass="RadGrid" ID="GridRequest" runat="server" AllowFilteringByColumn="false"
                                                                                    AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True"
                                                                                    GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                                                    OnItemCommand="GridRequest_ItemCommand" OnItemDataBound="GridRequest_ItemDataBound">
                                                                                        <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                                            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                                            <Columns>
                                                                                                <telerik:GridBoundColumn DataField="DateRequired" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="วันที่" 
                                                                                                    UniqueName="DateRequired" DataFormatString="{0:dd/MM/yyyy}">
                                                                                                    <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoEmployeeRequest.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ผู้ทำ" 
                                                                                                    UniqueName="InfoEmployeeRequest.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                                                    CurrentFilterFunction="Contains" DataField="Ref_no" FilterControlWidth="100%" 
                                                                                                    HeaderText="เลขที่" ShowFilterIcon="false" SortExpression="Ref_no" 
                                                                                                    UniqueName="Ref_no2">
                                                                                                    <HeaderStyle HorizontalAlign="Center" Width="250px" />
                                                                                                    <ItemStyle HorizontalAlign="Left" />
                                                                                                    <ItemTemplate>
                                                                                                        <asp:HyperLink ID="lkRefNo" runat="server" NavigateUrl="#" 
                                                                                                            Text='<%# Eval("Ref_no") %>'></asp:HyperLink>
                                                                                                    </ItemTemplate>
                                                                                                </telerik:GridTemplateColumn>
                                                                                                <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                                                    CurrentFilterFunction="Contains" DataField="Name" FilterControlWidth="100%" 
                                                                                                    HeaderText="เรื่อง" ShowFilterIcon="false" SortExpression="Field3" 
                                                                                                    UniqueName="Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" Width="250px" />
                                                                                                    <ItemStyle HorizontalAlign="Left" />
                                                                                                    <ItemTemplate>
                                                                                                        <asp:HyperLink ID="lkName" runat="server" NavigateUrl="#" 
                                                                                                            Text='<%# Eval("Name") %>'></asp:HyperLink>
                                                                                                    </ItemTemplate>
                                                                                                </telerik:GridTemplateColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoRecordStatus.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="สถานะรายการ" 
                                                                                                    UniqueName="InfoRecordStatus.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="Ref_no" 
                                                                                                    HeaderStyle-HorizontalAlign="Center" UniqueName="Ref_no" 
                                                                                                    Visible="false">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="Seq" 
                                                                                                    HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                                                    Visible="false">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                            </Columns>
                                                                                        </MasterTableView>
                                                                                    </telerik:RadGrid>
                                                                                </td>
                                                                            </tr>
                                                                            <tr><td width="30px"></td><td></td></tr>
                                                                        </table>
                                                                      </asp:Panel>
                                                                 </ItemTemplate>
                                                            </telerik:RadPanelItem>
                                                        </Items>
                                                    </telerik:RadPanelItem>
                                                    <telerik:RadPanelItem Expanded="False" Text="เบิกจ่าย" runat="server"> 
                                                        <Items>
                                                            <telerik:RadPanelItem Value="Bar3" runat="server">
                                                                <ItemTemplate>
                                                                      <asp:Panel ID="Panel3" runat="server" Width="100%">
                                                                        <table width="100%">
                                                                            <tr><td width="30px"></td><td></td></tr>
                                                                            <tr>
                                                                                <td width="30px"></td>
                                                                                <td>
                                                                                    <telerik:RadGrid CssClass="RadGrid" ID="GridPublishing" runat="server" AllowFilteringByColumn="false"
                                                                                        AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True"
                                                                                        GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                                                        OnItemCommand="GridPublishing_ItemCommand" OnItemDataBound="GridPublishing_ItemDataBound" >
                                                                                        <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                                            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                                            <Columns>
                                                                                                <telerik:GridBoundColumn DataField="Date" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%" DataFormatString="{0:dd/MM/yyyy}"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="วันที่" 
                                                                                                    UniqueName="Date">
                                                                                                    <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoEmp.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ผู้ทำ" 
                                                                                                    UniqueName="InfoEmp.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                                                    CurrentFilterFunction="Contains" DataField="Ref_no" FilterControlWidth="100%" 
                                                                                                    HeaderText="เลขที่" ShowFilterIcon="false" SortExpression="Ref_no" 
                                                                                                    UniqueName="Ref_no2">
                                                                                                    <HeaderStyle HorizontalAlign="Center" Width="250px" />
                                                                                                    <ItemStyle HorizontalAlign="Left" />
                                                                                                    <ItemTemplate>
                                                                                                        <asp:HyperLink ID="lkRefNo" runat="server" NavigateUrl="#" 
                                                                                                            Text='<%# Eval("Ref_no") %>'></asp:HyperLink>
                                                                                                    </ItemTemplate>
                                                                                                </telerik:GridTemplateColumn>
                                                                                                <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                                                    CurrentFilterFunction="Contains" DataField="Name" FilterControlWidth="100%" 
                                                                                                    HeaderText="เรื่อง" ShowFilterIcon="false" SortExpression="Field3" 
                                                                                                    UniqueName="Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" Width="250px" />
                                                                                                    <ItemStyle HorizontalAlign="Left" />
                                                                                                    <ItemTemplate>
                                                                                                        <asp:HyperLink ID="lkName" runat="server" NavigateUrl="#" 
                                                                                                            Text='<%# Eval("Name") %>'></asp:HyperLink>
                                                                                                    </ItemTemplate>
                                                                                                </telerik:GridTemplateColumn>
                                                                                                <telerik:GridBoundColumn DataField="InfoRecordStatus.Name" 
                                                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                                                    FilterControlWidth="100%"
                                                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="สถานะรายการ" 
                                                                                                    UniqueName="InfoRecordStatus.Name">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="Ref_no" 
                                                                                                    HeaderStyle-HorizontalAlign="Center" UniqueName="Ref_no" 
                                                                                                    Visible="false">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                                <telerik:GridBoundColumn DataField="Seq" 
                                                                                                    HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                                                    Visible="false">
                                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                                </telerik:GridBoundColumn>
                                                                                            </Columns>
                                                                                        </MasterTableView>
                                                                                    </telerik:RadGrid>
                                                                                </td>
                                                                            </tr>
                                                                            <tr><td width="30px"></td><td></td></tr>
                                                                        </table>
                                                                      </asp:Panel>
                                                                 </ItemTemplate>
                                                            </telerik:RadPanelItem>
                                                        </Items>
                                                    </telerik:RadPanelItem>
                                                 </Items>
                                        </telerik:RadPanelBar>
                                        <telerik:RadToolTipManager ID="TipApproveDetail" runat="server" Animation="None" 
                                            HideEvent="Default" OnAjaxUpdate="OnAjaxUpdate_AppDet" 
                                            Position="BottomCenter" ShowEvent="OnClick" Skin="Default" ShowDelay="400" AutoCloseDelay="60000">
                                        </telerik:RadToolTipManager>
                                        <telerik:RadToolTipManager ID="TipHistoryApprove" runat="server" Animation="None" 
                                            HideEvent="ManualClose" OnAjaxUpdate="OnAjaxUpdate_HistoryApprove" Modal="true" 
                                            Position="BottomCenter" ShowEvent="OnClick" Skin="Default" ShowDelay="0" Width="720px">
                                        </telerik:RadToolTipManager>
                                        <telerik:RadToolTipManager ID="TipHistoryInform" runat="server" Animation="None" 
                                            HideEvent="ManualClose" OnAjaxUpdate="OnAjaxUpdate_HistoryInform" Modal="true" 
                                            Position="BottomCenter" ShowEvent="OnClick" Skin="Default" ShowDelay="0" Width="720px">
                                        </telerik:RadToolTipManager>
                                    </asp:Panel>
                                </div>
                            </div>
                        </asp:Panel>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView6" runat="server">
                        <asp:Panel ID="panel6" runat="server">
                            <div class="bigModuleFull" align="left">
                                <div class="bigModuleBottomFull">
                                    <asp:Panel ID="panel7" runat="server">
                                        <div class="header-grid">
                                            <asp:Label ID="Label4" runat="server" Text="ข้อมูลประวัติการตีกลับ"></asp:Label>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel CssClass="panelList" runat="server" ID="panel8" ScrollBars="Auto">
                                        <table width="100%">
                                            <tr><td></td></tr>
                                            <tr>
                                                <td>
                                                    <telerik:RadGrid CssClass="RadGrid" ID="Grid_Reject" runat="server" AllowFilteringByColumn="True"
                                                    AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True"
                                                    GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                    OnItemCommand="Grid_Reject_ItemCommand" >
                                                        <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                            <Columns>
                                                                <telerik:GridBoundColumn DataField="Reject_no" 
                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                    FilterControlWidth="100%"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ครั้งที่" 
                                                                    UniqueName="Reject_no">
                                                                    <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                </telerik:GridBoundColumn>
                                                                <telerik:GridBoundColumn DataField="Date" 
                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                    FilterControlWidth="100%"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="วันที่ตีกลับ" 
                                                                    UniqueName="Date" DataFormatString="{0:dd/MM/yyyy}">
                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                </telerik:GridBoundColumn>
                                                                <telerik:GridBoundColumn DataField="InfoEmp.Name" 
                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                    FilterControlWidth="100%"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="ผู้ตีกลับ" 
                                                                    UniqueName="InfoEmp.Name">
                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                </telerik:GridBoundColumn>
                                                                <telerik:GridBoundColumn DataField="Reason" 
                                                                    AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                    FilterControlWidth="100%"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="หมายเหตุ" 
                                                                    UniqueName="Reason">
                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                </telerik:GridBoundColumn>
                                                                <telerik:GridBoundColumn DataField="Seq" 
                                                                    HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                    Visible="false">
                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                </telerik:GridBoundColumn>
                                                            </Columns>
                                                        </MasterTableView>
                                                    </telerik:RadGrid>
                                                </td>
                                            </tr>
                                            <tr><td></td></tr>
                                        </table>
                                    </asp:Panel>
                                </div>
                            </div>
                        </asp:Panel>
                    </telerik:RadPageView>
                </telerik:RadMultiPage>
            </div>
        </asp:Panel>
    </form>
</body>
</html>
